<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>login_checkPic_frame</title>
    <link rel="stylesheet" type="text/css" href="../../css/aui.css" />
    <style type="text/css">
        #classify {
            color: #ffffff !important;
        }
        .checkSection{
          padding: 0px 0 4px;
          background: #fff;
        }
        .checkSection .aui-col-xs-3{
          width: 25%;
          height: 90px;
          padding: 0;
        }
        .checkSection .aui-col-xs-3 img{
          height: 100%;
          padding: 4px 0 0 4px;
        }
        .padding-R{
          padding-right: 4px!important;
        }
        /*适配屏幕320px*/
        @media (max-width: 320px){
          .checkSection .aui-col-xs-3 {
              height: 80px;
          }
          .checkSection .aui-col-xs-3 img {
              padding: 3px 0 0 3px;
          }
          .padding-R {
              padding-right: 3px!important;
          }
          .checkSection {
              padding: 0px 0 3px;
          }
      	}
        /*适配屏幕320px*/
    </style>
</head>
<body>
    <section class="aui-content aui-margin-b-10 checkSection" id="checkSection_frame">
        <div class="aui-grid">
            <div class="aui-row">
                <div class="aui-col-xs-3">
                  <img src="../../image/bussUploadPic@2x.png" />
                </div>
                <div class="aui-col-xs-3">
                    <img src="../../image/bussUploadPic@2x.png" />
                </div>
                <div class="aui-col-xs-3">
                    <img src="../../image/bussUploadPic@2x.png" />
                </div>
                <div class="aui-col-xs-3">
                    <img src="../../image/bussUploadPic@2x.png" class="padding-R" />
                </div>
                <div class="aui-col-xs-3">
                   <img src="../../image/bussUploadPic@2x.png" />
                </div>
                <div class="aui-col-xs-3">
                    <img src="../../image/bussUploadPic@2x.png" />
                </div>
                <div class="aui-col-xs-3">
                    <img src="../../image/bussUploadPic@2x.png" />
                </div>
                <div class="aui-col-xs-3">
                    <img src="../../image/bussUploadPic@2x.png" class="padding-R"/>
                </div>
                <div class="aui-col-xs-3">
                   <img src="../../image/bussUploadPic@2x.png" />
                </div>
                <div class="aui-col-xs-3">
                    <img src="../../image/bussUploadPic@2x.png" />
                </div>
                <div class="aui-col-xs-3">
                    <img src="../../image/bussUploadPic@2x.png" />
                </div>
                <div class="aui-col-xs-3">
                    <img src="../../image/bussUploadPic@2x.png" class="padding-R"/>
                </div>
                <div class="aui-col-xs-3">
                   <img src="../../image/bussUploadPic@2x.png" />
                </div>
                <div class="aui-col-xs-3">
                    <img src="../../image/bussUploadPic@2x.png" />
                </div>
                <div class="aui-col-xs-3">
                    <img src="../../image/bussUploadPic@2x.png" />
                </div>
                <div class="aui-col-xs-3">
                    <img src="../../image/bussUploadPic@2x.png" class="padding-R" />
                </div>
                <div class="aui-col-xs-3">
                   <img src="../../image/bussUploadPic@2x.png" />
                </div>
                <div class="aui-col-xs-3">
                    <img src="../../image/bussUploadPic@2x.png" />
                </div>
                <div class="aui-col-xs-3">
                    <img src="../../image/bussUploadPic@2x.png" />
                </div>
                <div class="aui-col-xs-3">
                    <img src="../../image/bussUploadPic@2x.png" class="padding-R"/>
                </div>
                <div class="aui-col-xs-3">
                   <img src="../../image/bussUploadPic@2x.png" />
                </div>
                <div class="aui-col-xs-3">
                    <img src="../../image/bussUploadPic@2x.png" />
                </div>
                <div class="aui-col-xs-3">
                    <img src="../../image/bussUploadPic@2x.png" />
                </div>
                <div class="aui-col-xs-3">
                    <img src="../../image/bussUploadPic@2x.png" class="padding-R"/>
                </div>
            </div>
        </div>
    </section>
  </body>
<script type="text/javascript" src="../../script/api.js" ></script>
<script type="text/javascript" src="../../script/vue.min.js"></script>
<script type="text/javascript" src="../../script/common.js"></script>
<script type="text/javascript" src="../../script/fastclick.js"></script>
<script type="text/javascript">
    apiready = function () {
    }
    ////初始化页面
    var app = new Vue({
        el: '#checkSection_frame',
        data: {
            wHeight: '',
            showMask : false
        },
        methods: {
            init: function() {

            },
        },
        beforeUpdate:function(){

        }
    });
    var Method = {
        checkPic : function(){
          api.getPicture({
              sourceType: 'album',
            //  encodingType: 'jpg',
              mediaValue: 'pic',
              destinationType: 'url',
              allowEdit: true,
              quality: 50,
              targetWidth: 100,
              targetHeight: 100,
              saveToPhotoAlbum: false
          }, function(ret, err) {
                  alert(JSON.stringify(ret))
              // if (ret) {
              //     alert(JSON.stringify(ret));
              // } else {
              //     alert(JSON.stringify(err));
              // }
          });
        }
    }
        Method.checkPic();
</script>
</html>
